package io.renren.modules.generator.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.generator.dao.SysMenuTestDao;
import io.renren.modules.generator.entity.SysMenuTestEntity;
import io.renren.modules.generator.service.SysMenuTestService;


@Service("sysMenuTestService")
public class SysMenuTestServiceImpl extends ServiceImpl<SysMenuTestDao, SysMenuTestEntity> implements SysMenuTestService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysMenuTestEntity> page = this.page(
                new Query<SysMenuTestEntity>().getPage(params),
                new QueryWrapper<SysMenuTestEntity>()
        );

        return new PageUtils(page);
    }

}